package com.fire.communication.web.mapper.notice;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fire.communication.model.notice.NoticeRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: YangYu
 * @ClassName: NoticeRecordMapper
 * @Date: Created in 16:28 2022/7/14
 * @Description:
 */
@Mapper
public interface NoticeRecordMapper extends BaseMapper<NoticeRecord> {

    IPage<NoticeRecord> noticeRecordListPage(IPage page, @Param("param") JSONObject jsonParam);
    /**
     * 批量添加
     * @param jsonParam
     */
    void insertZB(List<NoticeRecord> list);
}
